package user;

import operation.*;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:岁亮亮
 * Date:2024-01-08
 * TIME:19:27
 */
public class Normal extends User {

    public Normal(String name) {
        super(name);
        this.iOoperations=new IOoperation[]{new exitoperation(),
                                           new borrowed(),
                                            new returned(),
                                             new checkoperation()};
    }
    public int menu(){
        System.out.println("*********************");
        System.out.println("1 借阅图书");
        System.out.println("2 归还图书");
        System.out.println("3 查找图书");
        System.out.println("0 退出系统");
        System.out.println("*********************");
        System.out.println("请输入你要操作的内容");
        Scanner scanner=new Scanner(System.in);
        return scanner.nextInt();
    }
}
